Monitoring
We can integrate the cloudwatch logs at the stage levels and ApI basis. With X-Ray, the full picture of the api-gateway and lambda can be displayed
Cloudwatch Metrics:
CacheHitCountthe more the better caching mechanism, (Number of request served from the cache)CacheMissCountthe less the better caching mechanism (Number of requests served from the backend)CountTotal number of API request at a certain time frameIntegrationLatencyTime frame of sending request to lambda and getting response from lambdaLatencyTime to receive request in API Gateway and sending response from API Gateway